package net.hombrecero.bigbeat.dao.impl;

import net.hombrecero.bigbeat.dao.ProjectDAO;
import net.hombrecero.bigbeat.model.Project;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class ProjectDAOHibernate extends HibernateDaoSupport implements ProjectDAO {
	public void storeSubSet( Project project ) throws DataAccessException {
        this.getHibernateTemplate().saveOrUpdate( project );
	}
	public void deleteSubSet( Project project ) throws DataAccessException {
        this.getHibernateTemplate().delete( project );
	}
}
